<script>
	export default {
		onLaunch: function() {
			uni.hideTabBar();
			const token = uni.getStorageSync('token')
			if (!token) {
				uni.reLaunch({
					url: '/pages/login/login'
				})
			}
		},
		onShow: function() {},
		onHide: function() {}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import url("./common/global.css");
	@import '@/uni_modules/tuniaoui-vue3/index.css';
</style>